package exer1;

import org.junit.Test;

/**
 * Date:2025/2/23
 * Author：zhouzhou
 * Description:
 */
public class StringDemo {
    @Test
    public void test() {
        String s1="he";
        String s2="he";
        String s3=new String("he");
        String s4=new String("he");
        System.out.println(s1==s2);
        System.out.println(s3==s4);
        System.out.println(s3.equals(s4));
    }
}
